//package com.example.hxpc.guidancemanagement.activity;
//
//import android.os.Bundle;
//import android.support.annotation.Nullable;
//import android.support.v4.app.FragmentActivity;
//import android.widget.TextView;
//
//import com.example.hxpc.guidancemanagement.R;
//import com.example.hxpc.guidancemanagement.adapter.ImagePagerAdapter;
//import com.example.hxpc.guidancemanagement.tools.mold.HackyViewPager;
//
//import java.util.ArrayList;
//
///**
// * Created by tao on 2017/12/25.
// */
//
//public class ImagePagerActivity extends FragmentActivity {
//
//    private HackyViewPager mPager;
//    private int pagerPosition;
//    private TextView indicator;
//
//    @Override
//    protected void onCreate(@Nullable Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        setContentView(R.layout.activity_imageview_brower);
//
//        pagerPosition = getIntent().getIntExtra("image_position",0);
//        ArrayList<String> urls = getIntent().getStringArrayListExtra("image_url");
//        mPager = (HackyViewPager) findViewById(R.id.pager);
//        ImagePagerAdapter mAdapter = new ImagePagerAdapter(getSupportFragmentManager(),urls);
//        mPager.setAdapter(mAdapter);
//        indicator = (TextView) findViewById(R.id.indicator);
//
////        CharSequence text = getString(R.string.viewpager_indicator , 1 ,mPager.getAdapter().getCount());
//    }
//
//
//}
